"""
将函数自身作为参数，传入作为参数
"""
def test_func(compute):
    result = compute(1,2)
    print(result)

def compute(x,y):
    return x+y

test_func(compute)